window.Sh = {
	User   : {},
	Parser : {},
	Render : {},
	Bin    : {}
};

Sh.Engine = new Class({
	initialize : function (container) {
		if (this.clientSupported()) {
			this.container = $(container);
			this.createObjects();
			this.terminal.show();
		}
	},
	createObjects : function () {
		this.template = new Sh.Render.Template(this);
		this.terminal = new Sh.Render.Terminal(this);
		this.user     = new Sh.User.User(this);
	},
	clientSupported : function () {
		return !Browser.Engine.trident;
	}
});


